//
//  UIImageView+PYWebImage.h
//  IHome
//
//  Created by Jim on 2019/4/6.
//  Copyright © 2019 com.zhujizheng. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@interface UIImageView (PYWebImage)

/**
 根据图片url加载图片

 @param imgUrl 图片url
 @param placeholder 预显示的图片
 @param options 加载图片的选项
 @param progressHandler 加载进度
 @param transform yy图片操作block
 @param completion 加载完成的回调
 */
- (void)py_setImageURLString:(NSString *)imgUrl
                 placeholder:(UIImage *)placeholder
                     options:(YYWebImageOptions)options
                    progress:(nullable void (^)(double progress))progressHandler
                   transform:(YYWebImageTransformBlock)transform
                  completion:(nullable void (^)(UIImage * _Nonnull image))completion;
@end

NS_ASSUME_NONNULL_END
